package com.shoppingmall.service;

import com.shoppingmall.common.ServletResponse;
import com.shoppingmall.pojo.Shipping;

/**
 * Created by
 *
 * @author touni
 * @date 2019/3/22
 * @time 10:08
 */
public interface ShippingService {
    ServletResponse addOrUpdateShippingAddress(Shipping shipping);

    ServletResponse deleteShippingAddress(Integer userId, Integer shippingId);

    ServletResponse selectShippingAddress(Integer userId, Integer shippingId);

    ServletResponse listShippingAddress(Integer userId, Integer pageNum, Integer pageSize);
}
